<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:>
<head>
  <meta charset="UTF-8">
  <th:block th:include="include :: header('确认收货')" />
</head>
<th:block th:include="include :: top" />
<body>
<main class="confirm-pay">
  <div class="buy-flow-img">
    <img src="img/buyflow_3.png">
  </div>
  <div class="buy-flow">
    <div class="buy-flow-time time-1" th:text="${order.createDate}"></div>
    <div class="buy-flow-time time-2" th:text="${order.payDate}"></div>
    <div class="buy-flow-time time-3" th:text="${order.deliverDate}"></div>
  </div>
  <div class="agree-pay-text">我已收到货，同意支付宝付款</div>
  <div class="bill-detail">
    <div class="bill-detail-title">订单信息</div>
    <table class="bill-detail-table" >
      <thead>
      <tr>
        <th colspan="2">宝贝</th>
        <th>单价</th>
        <th>数量</th>
        <th>商品总价</th>
        <th>运费</th>
      </tr>
      </thead>
      <tbody>
        <tr th:each="oi,vs:${order.orderItems}">
          <td><img src="img/赞美太阳.jpg"></td>
          <td class="item-title"><a href="#nowhere" th:text="${oi.name}"></a></td>
          <td >￥<span th:text="${oi.Price}"></span></td>
          <td th:text="${oi.number}"></td>
          <td class="item-sum-price">￥<span th:text="${oi.sum}"></span></td>
          <td>快递 0.00</td>
        </tr>
      </tbody>
    </table>
    <div class="bill-detail-sum">实付款： <span class="red-color">￥<span th:text="${order.sum}"></span></span></div>
    <table class="pay-detail-table clear">
      <tbody>
      <tr>
        <td width="200px">订单编号：</td>
        <td th:text="${order.orderCode}"> <img height="14px" src="img/tmall-small.png"></td>
      </tr>
      <tr>
        <td width="200px">卖家昵称：</td>
        <td th:text="${website_name}"> <span class="wangwang"></span></td>
      </tr>
      <tr>
        <td width="200px">收货信息： </td>
        <td th:text="${order.address}+','+${order.receiver}+','+${order.mobile}+','+${order.post}"></td>
      </tr>
      <tr>
        <td width="200px">成交时间：</td>
        <td th:text="${order.createDate}"></td>
      </tr>
      </tbody>
    </table>
    <div class="confirm-end">
      <div class="confirm-warning">请收到货后，再确认收货！否则您可能钱货两空！</div>
      <a th:href="@{'confirmed?oid='+${order.orderCode}}"><button class="confirm-button">确认支付</button></a>
    </div>
  </div>
</main>
<th:block th:include="include :: footer" />
</body>
</html>